package com.zhijian.wharf.service;


import com.zhijian.wharf.entity.dto.UserDto;
import com.zhijian.wharf.enums.SystemEnum;

/**
 * @author HCG
 * @version 1.0
 * @date 2023-05-23
 */
public interface TokenService {

    /**
     * 缓存内获取用户信息
     *
     * @param systemEnum
     * @param token
     * @return
     */
    UserDto getUserDtoByToken(SystemEnum systemEnum, String token);
}
